
DOMAIN = "https://wuuin.love"
AUTH_COOKIE_NAME = "token"
SECRET_KEY = "Project"
DEBUG = True
THREADED = True


MYSQL_HOST = '127.0.0.1'
MYSQL_PORT = 3306
MYSQL_DATABASE = 'ueonline'
MYSQL_USERNAME = 'root'
MYSQL_PASSWORD = 'admin134622'

REDIS_URL = "redis://:admin134622@localhost:6379/0"

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(MYSQL_USERNAME, MYSQL_PASSWORD,
                                                                               MYSQL_HOST, MYSQL_PORT, MYSQL_DATABASE)
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
SQLALCHEMY_POOL_SIZE = 100
SQLALCHEMY_MAX_OVERFLOW = 20
SQLALCHEMY_ECHO = False
